.wishes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    padding: 20px;
    position: relative;
}

.wishes-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    color: white;
    position: relative;
    overflow: hidden;
}

.wishes-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* 表单样式 */
.wishes-form {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus, textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 祝福墙样式 */
.wishes-wall {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

/* 当鼠标悬停时的样式 */
.wishes-wall:hover {
    cursor: pointer;
}

/* 滚动条样式 */
.wishes-wall::-webkit-scrollbar {
    width: 6px;
}

.wishes-wall::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.wishes-wall::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* 祝福卡片样式 */
.wish-item {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wish-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.wish-name {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
}

.wish-text {
    margin: 0.8rem 0;
    line-height: 1.5;
}

.wish-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 自动滚动效果 */
.wishes-wall.scrolling {
    scroll-behavior: smooth;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .wishes-card {
        padding: 1rem;
        margin: 20px;
    }
    
    .wishes-card h1 {
        font-size: 2rem;
    }
}

/* 弹幕容器 */
.danmaku-container {
    position: fixed;
    top: 200;
    left:0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

/* 弹幕样式 */
.danmaku {
    position: absolute;
    white-space: nowrap;
    color: white;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: danmakuMove linear;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes danmakuMove {    
    from {
        transform: translateX(20%);
    }
    to {
        transform: translateX(-400%);
    }
} 